<%@ page contentType="image/JPEG;charset=gb2312" language="java"%> 
<%@page import="com.nine.utils.MakeCertPic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>验证码生成界面</title>
</head>
<body> 
 <jsp:useBean id="image" scope="page" class="com.nine.utils.MakeCertPic"/><%
String str = image.getCertPic(0,0,response.getOutputStream());
 //将验证码存入session中
 session.setAttribute("image",str);
%> -

</body>
</html>